export const IpcMainEventEnum = {
    HIDE_WINDOWS: 'hide_windows',
    BACKEND_WINDOWS: 'backend_windows',
    BACKEND_WINDOWS_AND_PASTE: 'backend_windows_and_paste',

    RENDERER_ENV_READY: 'renderer_env_ready',

    READ_FILE: 'read_file',
    WRITE_JSON: 'write_json',

    OPEN_DIALOG: 'open_dialog',
    OPEN_FOLDER: 'open_folder',

    EXEC_SCRIPT: 'exec_script',
    RUN_COMMANDS: 'run_commands',

    ADD_SERVE_PROCESS: 'add_serve_process',
    MOD_SERVE_PROCESS: 'mod_serve_process',
    DEL_SERVE_PROCESS: 'del_serve_process',
    RUN_SERVE_PROCESS: 'run_serve_process',
    CLS_SERVE_PROCESS: 'cls_serve_process',
    SERVE_RENDERER_READY: 'serve_renderer_ready',
};

export const IpcRendererEventEnum = {
    SHOW_WINDOWS: 'show_windows',
    RENDERER_ENV: 'renderer_env',

    READ_FILE_RESULT: 'read_file_result',
    OPEN_DIALOG_RESULT: 'open_dialog_result',

    EXEC_SCRIPT_ERROR: 'exec_script_error',
    EXEC_SCRIPT_FINISH: 'exec_script_finish',
    RUN_COMMANDS_ERROR: 'run_commands_error',
    RUN_COMMANDS_FINISH: 'run_commands_finish',

    GET_SERVE_CONFIG: 'get_serve_config',

    CLIPBOARD_UPDATE: 'clipboard_update',
};
